package com.etime.shycourse.wx.applets.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author wb
 * @since 2022-01-11
 */
@ApiModel(value = "Orderdetail对象", description = "")
public class Orderdetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "odid", type = IdType.AUTO)
    private Integer odid;

    private Integer orderid;

    @ApiModelProperty(value = "1--课程	            2--章	            3--节	            4--课时")
    private Integer odgoodstype;

    private Integer odcourseid;

    private String odcoursename;

    private Integer odchapterid;

    private String odchaptername;

    private Integer odnodeid;

    private String odnodename;

    private Integer odlessonid;

    private String odlessonname;

    private BigDecimal odprice;

    private BigDecimal odorigninprice;

    private BigDecimal odcoinprice;

    private BigDecimal odcoinmaxpoint;

    private BigDecimal odsalertakes;

    private BigDecimal odtectakes;

    @ApiModelProperty(value = "0--已结算	            1--未结算")
    private Integer odsalersettlemented;

    @ApiModelProperty(value = "0--未结算；1--已结算")
    private Integer odtecsettlement;

    private LocalDateTime odsalertime;

    private LocalDateTime odtectime;


    public Integer getOdid() {
        return odid;
    }

    public void setOdid(Integer odid) {
        this.odid = odid;
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getOdgoodstype() {
        return odgoodstype;
    }

    public void setOdgoodstype(Integer odgoodstype) {
        this.odgoodstype = odgoodstype;
    }

    public Integer getOdcourseid() {
        return odcourseid;
    }

    public void setOdcourseid(Integer odcourseid) {
        this.odcourseid = odcourseid;
    }

    public String getOdcoursename() {
        return odcoursename;
    }

    public void setOdcoursename(String odcoursename) {
        this.odcoursename = odcoursename;
    }

    public Integer getOdchapterid() {
        return odchapterid;
    }

    public void setOdchapterid(Integer odchapterid) {
        this.odchapterid = odchapterid;
    }

    public String getOdchaptername() {
        return odchaptername;
    }

    public void setOdchaptername(String odchaptername) {
        this.odchaptername = odchaptername;
    }

    public Integer getOdnodeid() {
        return odnodeid;
    }

    public void setOdnodeid(Integer odnodeid) {
        this.odnodeid = odnodeid;
    }

    public String getOdnodename() {
        return odnodename;
    }

    public void setOdnodename(String odnodename) {
        this.odnodename = odnodename;
    }

    public Integer getOdlessonid() {
        return odlessonid;
    }

    public void setOdlessonid(Integer odlessonid) {
        this.odlessonid = odlessonid;
    }

    public String getOdlessonname() {
        return odlessonname;
    }

    public void setOdlessonname(String odlessonname) {
        this.odlessonname = odlessonname;
    }

    public BigDecimal getOdprice() {
        return odprice;
    }

    public void setOdprice(BigDecimal odprice) {
        this.odprice = odprice;
    }

    public BigDecimal getOdorigninprice() {
        return odorigninprice;
    }

    public void setOdorigninprice(BigDecimal odorigninprice) {
        this.odorigninprice = odorigninprice;
    }

    public BigDecimal getOdcoinprice() {
        return odcoinprice;
    }

    public void setOdcoinprice(BigDecimal odcoinprice) {
        this.odcoinprice = odcoinprice;
    }

    public BigDecimal getOdcoinmaxpoint() {
        return odcoinmaxpoint;
    }

    public void setOdcoinmaxpoint(BigDecimal odcoinmaxpoint) {
        this.odcoinmaxpoint = odcoinmaxpoint;
    }

    public BigDecimal getOdsalertakes() {
        return odsalertakes;
    }

    public void setOdsalertakes(BigDecimal odsalertakes) {
        this.odsalertakes = odsalertakes;
    }

    public BigDecimal getOdtectakes() {
        return odtectakes;
    }

    public void setOdtectakes(BigDecimal odtectakes) {
        this.odtectakes = odtectakes;
    }

    public Integer getOdsalersettlemented() {
        return odsalersettlemented;
    }

    public void setOdsalersettlemented(Integer odsalersettlemented) {
        this.odsalersettlemented = odsalersettlemented;
    }

    public Integer getOdtecsettlement() {
        return odtecsettlement;
    }

    public void setOdtecsettlement(Integer odtecsettlement) {
        this.odtecsettlement = odtecsettlement;
    }

    public LocalDateTime getOdsalertime() {
        return odsalertime;
    }

    public void setOdsalertime(LocalDateTime odsalertime) {
        this.odsalertime = odsalertime;
    }

    public LocalDateTime getOdtectime() {
        return odtectime;
    }

    public void setOdtectime(LocalDateTime odtectime) {
        this.odtectime = odtectime;
    }

    @Override
    public String toString() {
        return "Orderdetail{" +
                "odid=" + odid +
                ", orderid=" + orderid +
                ", odgoodstype=" + odgoodstype +
                ", odcourseid=" + odcourseid +
                ", odcoursename=" + odcoursename +
                ", odchapterid=" + odchapterid +
                ", odchaptername=" + odchaptername +
                ", odnodeid=" + odnodeid +
                ", odnodename=" + odnodename +
                ", odlessonid=" + odlessonid +
                ", odlessonname=" + odlessonname +
                ", odprice=" + odprice +
                ", odorigninprice=" + odorigninprice +
                ", odcoinprice=" + odcoinprice +
                ", odcoinmaxpoint=" + odcoinmaxpoint +
                ", odsalertakes=" + odsalertakes +
                ", odtectakes=" + odtectakes +
                ", odsalersettlemented=" + odsalersettlemented +
                ", odtecsettlement=" + odtecsettlement +
                ", odsalertime=" + odsalertime +
                ", odtectime=" + odtectime +
                "}";
    }
}
